package com.feng.show.service;

import com.feng.show.comm.ServerResponse;
import com.feng.show.entity.Agent;
import com.feng.show.entity.Merchant;

import java.util.List;


public interface IAgentService {

//    //上传安全码,绑定相关信息
//    ServerResponse<String> bindSecurityCode(String userId, List<String> numberList, String productId, String pAreaId);
//
//    //按照标签查询，看数据是否存在
//    ServerResponse<String> bindSecurityCode(String userId, String number);

    //添加
//    ServerResponse<String> addProductType(String name, String no, String des);
//    //查询
//    Long serarchByName(String name);

    ServerResponse<List<Agent>>  getAgentList(String userId);

    //添加经销商
    ServerResponse<String> addMerchant(String userId, Agent agent);

    //修改经销商
    ServerResponse<String> modifyMerchant(String userId, Agent agent);


  //删除经销商，逻辑删除
  ServerResponse<String> delMerchant(String userId, Agent agent);












}
